package com.j1ay.forum.model.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @Author J1ay
 * @Date 2021/12/14 21:05
 * @Description 回答表
 */

@Data
@TableName(value = "tb_answer")
public class Answer {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String content;
    private Long questionId;
    private String username;
    private int praise;
    private Date createTime;
}
